[INFO] cloning repository https://github.com/Udayan09/c_compiler_in_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Udayan09/c_compiler_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUdayan09%2Fc_compiler_in_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUdayan09%2Fc_compiler_in_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 435906f0d126a546c25d6203586de761fba19154
[INFO] fixing Udayan09/c_compiler_in_rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUdayan09%2Fc_compiler_in_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Udayan09/c_compiler_in_rust
[INFO] finished tweaking git repo https://github.com/Udayan09/c_compiler_in_rust
[INFO] tweaked toml for git repo https://github.com/Udayan09/c_compiler_in_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Udayan09/c_compiler_in_rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Udayan09/c_compiler_in_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b
[INFO] running `Command { std: "docker" "start" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking c_compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generator.rs:23:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let statement_string = statement_generator(func.body);
[INFO] [stdout]    |                            ------------------- ^^^^^^^^^ expected `Statement`, found `Vec<Statement>`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Statement`
[INFO] [stdout]             found struct `Vec<Statement>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/generator.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn statement_generator(statement: Statement) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generator.rs:23:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let statement_string = statement_generator(func.body);
[INFO] [stdout]    |                            ------------------- ^^^^^^^^^ expected `Statement`, found `Vec<Statement>`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Statement`
[INFO] [stdout]             found struct `Vec<Statement>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/generator.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn statement_generator(statement: Statement) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 219 |             
[INFO] [stdout] 220 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 246 |             
[INFO] [stdout] 247 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 284 |             
[INFO] [stdout] 285 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 311 |             
[INFO] [stdout] 312 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 338 |
[INFO] [stdout] 339 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Statement::Declare(_, _)` and `Statement::Expression(_)` not covered
[INFO] [stdout]   --> src/generator.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |     match statement {
[INFO] [stdout]    |           ^^^^^^^^^ patterns `Statement::Declare(_, _)` and `Statement::Expression(_)` not covered
[INFO] [stdout]    |
[INFO] [stdout] note: `Statement` defined here
[INFO] [stdout]   --> src/parser.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Statement {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]  8 |     Return(Expression),
[INFO] [stdout]  9 |     Declare(String, Option <Expression>),
[INFO] [stdout]    |     ------- not covered
[INFO] [stdout] 10 |     Expression (Expression),
[INFO] [stdout]    |     ---------- not covered
[INFO] [stdout]    = note: the matched value is of type `Statement`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 35 ~         },
[INFO] [stdout] 36 +         Statement::Declare(_, _) | Statement::Expression(_) => todo!()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Expression::Assign(_, _)` and `Expression::Var(_)` not covered
[INFO] [stdout]    --> src/generator.rs:41:11
[INFO] [stdout]     |
[INFO] [stdout]  41 |     match exp {
[INFO] [stdout]     |           ^^^ patterns `Expression::Assign(_, _)` and `Expression::Var(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `Expression` defined here
[INFO] [stdout]    --> src/parser.rs:37:10
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub enum Expression {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     Assign(String, Box<Expression>),
[INFO] [stdout]     |     ------ not covered
[INFO] [stdout]  42 |     Var(String),
[INFO] [stdout]     |     --- not covered
[INFO] [stdout]     = note: the matched value is of type `Expression`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]     |
[INFO] [stdout] 161 ~         },
[INFO] [stdout] 162 +         Expression::Assign(_, _) | Expression::Var(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c_compiler` (bin "c_compiler" test) due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 219 |             
[INFO] [stdout] 220 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 246 |             
[INFO] [stdout] 247 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 284 |             
[INFO] [stdout] 285 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:312:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 311 |             
[INFO] [stdout] 312 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             _ => break,
[INFO] [stdout]     |             - matches any value
[INFO] [stdout] 338 |
[INFO] [stdout] 339 |             None => {
[INFO] [stdout]     |             ^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Statement::Declare(_, _)` and `Statement::Expression(_)` not covered
[INFO] [stdout]   --> src/generator.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |     match statement {
[INFO] [stdout]    |           ^^^^^^^^^ patterns `Statement::Declare(_, _)` and `Statement::Expression(_)` not covered
[INFO] [stdout]    |
[INFO] [stdout] note: `Statement` defined here
[INFO] [stdout]   --> src/parser.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Statement {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]  8 |     Return(Expression),
[INFO] [stdout]  9 |     Declare(String, Option <Expression>),
[INFO] [stdout]    |     ------- not covered
[INFO] [stdout] 10 |     Expression (Expression),
[INFO] [stdout]    |     ---------- not covered
[INFO] [stdout]    = note: the matched value is of type `Statement`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 35 ~         },
[INFO] [stdout] 36 +         Statement::Declare(_, _) | Statement::Expression(_) => todo!()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Expression::Assign(_, _)` and `Expression::Var(_)` not covered
[INFO] [stdout]    --> src/generator.rs:41:11
[INFO] [stdout]     |
[INFO] [stdout]  41 |     match exp {
[INFO] [stdout]     |           ^^^ patterns `Expression::Assign(_, _)` and `Expression::Var(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `Expression` defined here
[INFO] [stdout]    --> src/parser.rs:37:10
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub enum Expression {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     Assign(String, Box<Expression>),
[INFO] [stdout]     |     ------ not covered
[INFO] [stdout]  42 |     Var(String),
[INFO] [stdout]     |     --- not covered
[INFO] [stdout]     = note: the matched value is of type `Expression`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]     |
[INFO] [stdout] 161 ~         },
[INFO] [stdout] 162 +         Expression::Assign(_, _) | Expression::Var(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c_compiler` (bin "c_compiler") due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b", kill_on_drop: false }`
[INFO] [stdout] 4d30a3c75d1940063fd1bec10d09d80227e479a4e426fd1cbe90f3ebd142e76b
